package joSaysHello.client;

import java.util.Date;
import java.util.List;

import joSaysHello.shared.entity.Hello;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GreetingServiceAsync {
	void sayHello(AsyncCallback<Hello> callback);
	void getHellos(AsyncCallback<List<Hello>> callback);
	void getHellosSince(Date since, AsyncCallback<List<Hello>> callback);
}
